<template>

	<div>
		<h3>历史记录</h3>
		<div class="table">
			<el-table :data="tableData" border style="width:900px">
				<el-table-column prop="name" label="姓名" width="180px">
				</el-table-column>
				<el-table-column prop="Notdoing" label="未做题" width="180px">
				</el-table-column>
				<el-table-column prop="errorcount" label="错题数" width="180px">
				</el-table-column>
				<el-table-column prop="score" label="得分" width="180px">
				</el-table-column>
				<el-table-column prop="isqualified" label="是否合格">
				</el-table-column>
			</el-table>
		</div>

	</div>
</template>

<script>
	export default {
		name: 'historyinfo',
		data() {
			return {
				tableData: [{
						name: '王小虎',
						Notdoing: '5',
						errorcount: '6',
						score: '94',
						isqualified: '合格'
					}, {
						name: '王小虎',
						Notdoing: '5',
						errorcount: '6',
						score: '94',
						isqualified: '合格'
					}, {
						name: '王小虎',
						Notdoing: '5',
						errorcount: '6',
						score: '94',
						isqualified: '合格'
					}, {
						name: '王小虎',
						Notdoing: '5',
						errorcount: '6',
						score: '94',
						isqualified: '合格'
					},
					{
						name: '王小虎',
						Notdoing: '5',
						errorcount: '6',
						score: '94',
						isqualified: '合格'
					}, {
						name: '王小虎',
						Notdoing: '5',
						errorcount: '6',
						score: '94',
						isqualified: '合格'
					}, {
						name: '王小虎',
						Notdoing: '5',
						errorcount: '6',
						score: '94',
						isqualified: '合格'
					}, {
						name: '王小虎',
						Notdoing: '5',
						errorcount: '6',
						score: '94',
						isqualified: '合格'
					}
				]
			}
		}
	}
</script>

<style>
	.table {
		margin-left: 25%;
	}
</style>
